home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / A / Add images Folder / pix_io.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-06-22  |  879 b   |  24 lines  |  [TEXT/KAHL]

  1. /*
  2.     pix_io.h
  3.  
  4.     file input and output of PICTs and cut and paste with CLIPBOARD
  5.     and most important - conversion from std picts to the proper colors
  6.     for PROTON, FLOURINE, and the mixture of the two
  7.  
  8. */
  9.  
  10. #include "initclut.h"
  11.  
  12. short GetPic( SFReply theReply,  PicHandle *source );
  13. /* reads PICT file and stores in the the handle */
  14.  
  15. void PutPic( SFReply theReply, PicHandle result_pic, PaletteHandle thePalette );
  16. /* write the Pixel image into a PICT file that uses thePalette */
  17.  
  18. CGrafPtr pic_to_bmap( PicHandle picH, Rect * frame, GDHandle themaxdevice );
  19. /* create a an offscreen port-pix-map and fill it with the picture */
  20.  
  21. void add_bmaps( CGrafPtr proton_bmap, Rect *proton_rect, short pr_off_top, short pr_off_left,
  22.                 CGrafPtr flourine_bmap, Rect *flourine_rect, short fl_off_top, short fl_off_left,
  23.                 CGrafPtr *result_bmap, Rect *result_rect, GDHandle themaxdevice );
  24.